A Note on Russell's Paradox in PAUL TAYLOR Locally Cartesian Closed Categories
نویسندگان
چکیده
Working in the fragment of Martin-L6fs extensional type theory ]-12] which has products (but not sums) of dependent types, we consider two additional assumptions: firstly, that there are (strong) equality types; and secondly, that there is a type which is universal in the sense that terms of that type name all types, up to isomorphism. For such a type theory, we give a version of Russell's paradox showing that each type possesses a closed term and (hence) that all terms of each type are provably equal. We consider the kind of category theoretic structure which corresponds to this kind of type theory and obtain a categorical version of the paradox. A special case of this result is the degeneracy of a locally cartesian closed category with a morphism which is generic in the sense that every other morphism in the category can be obtained from it via pullback. Introduction At the heart of the categorical approach to logic lies the ability to identify certain kinds of logical theory with particular kinds of category-theoretic structure. Indeed, the search for such logic-category correspondences has formed a major part of the subject to date. Once achieved, such an identification has its uses in both directions: sometimes algebraic techniques can be applied to the category-theoretic structures to yield results about the logical theoreis; at other times proof-theoretic or model-theoretic results for the logic yield new properties of the categories involved. This note illustrates in a minor way this latter aspect of the subject. Consider the following category-theoretic result: PROPOSITION. Let C be a locally cartesian closed category (that is, C has finite limits and for each object X in C, the slice category C /X is cartesian closed). Suppose further that C contains a generic family, which by definition is a morphism t: G-~U with the property that any other morphism f: A ~ X is a pullback of t along some morphism X--> U. Then it is the case that C is degenerate: every object in C is isomorphic to the terminal object. We will give a proof of this proposition which relies upon the correspondence established by Seely [14] between locally cartesian closed categories and theories over a (strong) version of Martin-L6fs system [12] of dependent types, with sums, products and equality types. Recall that under this correspondence the dependent types A [x] [x e X] of a theory are modelled by morphisms A ~ X in the category and substitution is modelled by (chosen) pullback 1 The financial support of the Royal Society in London is gratefully acknowledged. 378 A. M. Pitts, P. Taylor operations (which we assume given when specifying the structure of a locally cartesian closed category). Then the assumption that C has a generic family t: G-~U translates into the assumption ,that the type theory possesses a universal type (o r "type of all types") in the following sense: There is a constant type Type whose terms are intended to name all the types, up to isomorphism; Type is modelled by the object U in C. There is a dependent type T[u] giving the actual type named by u e Type; this is modelled by t: G ~ U in C. Whenever A is a type derivable in the theory, possibly dependent on some variables ~ say (and modelled by A ~ X in C), a constant nA(~) e Type is introduced along with function constants and axioms to make A [2] isomorphic to T[na(~)] (rather than actually equal to it). Since the result of substituting nA(~2 ) for u in T[u] is modelled in C by forming the pullback of t : G ~ U along the morphism f: X ~ U modelling na(YO, the provable isomorphism A [2] ~ T [nA(2)] in the type theory means that in C the morphism A--,X is isomorphic to the (chosen) pullback of t alongf(an d hence is a pullback of t along f). The proof of the proposition proceeds by giving a type-theoretic version of Russell's paradox. In this version, the roles of equality and universally quantified predicates are played as usual by equality and product types. The role of the powerset operation is played by the function type ( ) . Type; and the role of negation is played by the function type ( ) ~ A, where A is a fixed, but arbitrary type. In this form, the paradox produces (via an application of Cantor's familiar diagonal argument) a closed term of type A. Since A was arbi4!rary, we conclude that all types possess closed terms; since in particular this can be applied to equality types, we conclude further that all terms of any particular type are provably equal. Back in the locally cartesian closed category, this means that all objects possess aglobal section and that all parallel pairs of morphisms are equal from which degeneracy follows immediately. The type,theoretic version of the paradox we present does not use de/pendent sums. (A slightly simpler argument could be given using sums.e) As /a result, we in fact prove a sharper result (Proposition 1.5) of which the above proposition is a special case. The use we make of Russell's paradox in this paper should be contrasted with Girard's proof [6] of the inconsistency of Martin-L6fs original theory of types with a universal type, which used a type theory version of the Burali-Forti paradox. Recently there has been renewed interest from the computer science community in type theories with a universal type, but without equality types: see [2], [13] and [3]. Coquand [4] and Howe [7] analyse Girard's version of the paradox and show in particular that it can be carried out in type theory with just dependent products and a universal type. So such a type theory is "inconsistent" in the sense that every type possesses z Added in proof, such an argument has been given independently by Boom [1]. We are grateful to A. S. Troelstra for bringing the existence of this preprint to our attention. A note on Russell 's paradox.. . 379 a closed term; but since there are no equality types, it does not follow as above that al l terms areprovably equal. Indeed there are highly non-trivial models of this kind of type theory: see [3], [9] and [15] for example. Our version of Russell's paradox gives an inconsistency proof considerably less complex than Girard's paradox, but the argument makes use of equality types satisfying strong rules (modelled categorically by diagonal morphisms A = (id, id): A . A x xA). It would be interesting to know whether a version of the argument can be given which does not use these strong equality types, for the following reason. Currently it is not known whether a fixpoint combinator is definable in type theory with just dependent products and a universal type. Howe [7] establishes that the proof of Girard's paradox can be made to yield a term which is a "looping" combinator, but definitely not a fixpoint combinator. Now the paradox we give here produces a closed term of an arbitrary type A by establishing the stronger property that B --(B ~ A) for some B constructed from A. As we recall below (in 2.1), such an isomorphism implies that A has a fixed point property (so that in particular the fixed point of the identity on A yields a closed term of type A). Thus if such a version of Russell's paradox were possible in the fragment without strong equality types, it would yield a fixpoint combinator for that fragment. 1. Types and categories We will be working with the fragment of Martin-L6fs extensional theory of types [12] that concerns product and equality types. We refer the reader to Troelstra [16], who provides a useful formalization of Martin-L6fs systems;. for convenience we will adopt most of the notation used there. Thus judgements-in-context will be written
منابع مشابه
The Biequivalence of Locally Cartesian Closed Categories and Martin-Löf Type Theories
Seely’s paper Locally cartesian closed categories and type theory contains a well-known result in categorical type theory: that the category of locally cartesian closed categories is equivalent to the category of Martin-Löf type theories with Π,Σ, and extensional identity types. However, Seely’s proof relies on the problematic assumption that substitution in types can be interpreted by pullback...
متن کاملAn Algebraic Approach to Stable Domains
Day [75] showed that the category of continuous lattices and maps which preserve directed joins and arbitrary meets is the category of algebras for a monad over Set, Sp or Pos, the free functor being the set of filters of open sets. Separately, Berry [78] constructed a cartesian closed category whose morphisms preserve directed joins and connected meets, whilst Diers [79] considered similar fun...
متن کاملLocally cartesian closed categories and type theory
0. Introduction. I t is well known that for much of the mathematics of topos theory, it is in fact sufficient to use a category C whose slice categories C/A are cartesian closed. In such a category, the notion of a 'generalized set', for example an 'Aindexed set', is represented by a morphism B^-A of C, i.e. by an object of C/A. The point about such a category C is that C is a C-indexed categor...
متن کاملCartesian Closure for Stable Categories (draft)
Exercises 1.2 (a) Composition in RC is well-defined by representatives. (b) A morphism of RC is invertible ⇐⇒ it is a class of strong equivalences ⇐⇒ its counit is an isomorphism. (c) Objects of RC are isomorphic iff they are equivalent categories. (d) RC/T ' Copt(T ) (?). Rigid comparisons embody an important idea from domain theory: approximation. This must have the property that if X ′ appro...
متن کاملThe Univalence Axiom in posetal model categories
In this note we interpret Voevodsky’s Univalence Axiom in the language of (abstract) model categories. We then show that any posetal locally Cartesian closed model category Qt in which the mapping Hom(w)(Z × B,C) : Qt −→ Sets is functorial in Z and represented in Qt satisfies our homotopy version of the Univalence Axiom, albeit in a rather trivial way. This work was motivated by a question repo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004